package com.liujit.standard.basis.admin.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 登录请求参数
 * @author: liujun
 * @create: 2021-03-24 21:30
 */
@Data
@ApiModel("登录请求参数")
public class LoginParam {

    @ApiModelProperty("登录名")
    @NotBlank(message = "登录名不能为空")
    private String loginName;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String loginPass;
}
